package com.pikaq.service.impl;


import java.util.HashMap;
import java.util.Map;

import javax.annotation.Resource;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;
import com.pikaq.dao.UserDao;
import com.pikaq.entity.User;
import com.pikaq.service.UserService;

@Service
public class UserServiceImpl implements UserService{
	private static Logger logger = Logger.getLogger(UserServiceImpl.class);
	@Resource
	private UserDao dao;
	
	public User getLogin(User user) {
		logger.info("开始");
		User u = dao.getLogin(user);
		logger.info("结束");
		return u;
	}


	
	
}
